<template>
  <n-layout has-sider :native-scrollbar="false" class="layout">
    <n-layout-sider content-style="padding: 24px;">
      <n-button type="info" text @click="back">
        返回
      </n-button>
    </n-layout-sider>
    <n-layout-content>
      <writings-util/>
    </n-layout-content>
    <n-layout-sider>
      <n-button type="info" text>
        保存
      </n-button>
    </n-layout-sider>
  </n-layout>
</template>

<script>
import { ref } from 'vue'
import noteCommunal from "@/components/communal/note-communal.vue";
import writingUtil from "@/components/communal/writings-util.vue";
export default {
  name: "ShowNoteView",
  components:{
    noteCommunal,writingUtil
  },
  props:{

  },
  setup(){
    function back(){
      history.go(-1)
    }
    return {
      back
    }
  }
}
</script>

<style scoped>

</style>
